#!/usr/bin/env ruby
require 'erb'

$:.push "../../pannonica"
require 'pannonica'

require 'session'
require 'app'

# for profiling
# require 'profile'

if ARGV.size != 2
  puts "usage: samples.sh hostname port"
  exit -1
else
  hostname = ARGV[0]
  port = ARGV[1].to_i
  Application::start(hostname, port)
end
